package managers;

import java.sql.SQLException;
import java.util.Calendar;
import java.util.List;

import workspace.Workspace;
import beans.Foglalas;

public interface FoglalasManager {

	public List<Foglalas> loadFoglalasFromDate(Workspace workspace,
			Calendar fromDate) throws SQLException;

	public Foglalas insertFoglalas(Workspace workspace, Foglalas foglalas)
			throws SQLException;

	public Foglalas updateFoglalas(Workspace workspace, Foglalas updatedFoglalas)
			throws SQLException;

	public boolean deleteFoglalas(Workspace workspace, Foglalas deletedFoglalas)
			throws SQLException;

	Foglalas loadFoglalasById(Workspace workspace, long foglalasId)
			throws SQLException;

}
